package com.zhentao.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.vo.common.Result;
import com.zhentao.model.dto.order.OrderStatisticsDto;
import com.zhentao.model.entity.order.OrderInfo;
import com.zhentao.model.vo.order.OrderInfoVo;
import com.zhentao.model.vo.order.OrderStatisticsVo;

import java.util.List;

/**
 * @author 20183
 * @description 针对表【order_info(订单)】的数据库操作Service
 * @createDate 2024-08-20 09:39:17
 */
public interface OrderInfoService extends IService<OrderInfo> {
    //  订单统计-------柱状图
    OrderStatisticsVo getOrderStatisticsData(OrderStatisticsDto orderStatisticsDto);

    //  订单列表-----查订单所有
    Result selectAllOrder(OrderInfoVo orderInfoVo);

    //  订单状态修改
    Result updateStatus(Integer id);

    // 查所有
    Result selectOrder(OrderInfoVo orderInfoVo);
}
